﻿namespace Jet.Dal.EF
{
	/// <summary>
	/// Unit of work for EF repository. Add an overloaded version of GetREpository() to simplify access.
	/// </summary>
	public interface IEFUnitOfWork : IStorageUnitOfWork
	{
		/// <summary>
		/// Overloads a repository's access method to minimize generic params.
		/// </summary>
		IEFRepository<TEntity> GetRepository<TEntity>() where TEntity : class;
	}
}
